<?php
if (!defined('ZSM_ROOT_DIR'))  die('Hacking attempt');
class BaseActions extends Actions {
    public $news;
	function __construct()
	{		
	    Files::loadPlugin('Page');
	    Files::factory('news');
	    $this->news=new News();
	    
	    $this->addJs(ZSM_WWW_HOST.'js/jquery/jquery.js');
	    $this->addJs(ZSM_WWW_HOST.'js/system/basic.js');
		$this->addCss(ZSM_WWW_HOST.'css/global.css');
        $this->assign('module', Http::get('module'));
        $this->assign('action', Http::get('actions'));
       
	}
	
	
}
